import time

import pytest, os, logging


@pytest.fixture
def log():
    t = time.strftime('%Y%m%d%H%M%S', time.localtime())
    tt = 'yk' + t + 'log'
    logging.basicConfig(filename='yk',
                        filemode='w+',
                        level=logging.DEBUG,
                        format='(messname)% -s (level)% -s (time)% -s '
                        )
    return tt

# def fasong():




